/*
 * @Autor: Ruohong Yu
 * @Date: 2023-04-01 17:21:46
 * @Description: file content
 * @FilePath: \ebookd:\program\vsc\ebook\node-ebook\routes\shelf.js
 */
const express = require('express')
const router = express.Router()

const shelf_handler = require('../router_handler/shelf')

router.post('/my/getshelf', shelf_handler.getShelfBook)
router.post('/my/addshelf', shelf_handler.addShelfBook)
router.post('/my/delshelf', shelf_handler.delShelfBook)
router.post('/my/setprivate', shelf_handler.setPrivate)
router.post('/my/sethaveread', shelf_handler.setHaveRead)
router.post('/my/removeGroup', shelf_handler.removeGroup)

module.exports = router